package com.lagou.common.pojo;

import lombok.Data;
import org.springframework.stereotype.Component;

import javax.persistence.Id;
import javax.persistence.Table;

@Data//生成get set
@Table(name ="products")

public class Products {

  @Id
  private long id;
  private String name;
  private double price;
  private String flag;
  private String goodsDesc;
  private String images;
  private long goodsStock;
  private String goodsType;


}
